package com.tp.ssm.po;

import java.util.Date;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;

import com.tp.ssm.controller.validation.VaildGroup1;


public class ItemsCustom extends Items{
	
	@Size(min=1,max=30,message="{items.name.length.error}",groups={VaildGroup1.class})
    private String name;
    
	@NotNull(message="{items.createtime.isnull}")
    private Date createtime;

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Date getCreatetime() {
		return createtime;
	}

	public void setCreatetime(Date createtime) {
		this.createtime = createtime;
	}
    
}	